package com.campus.service;

import com.campus.dto.ActivityCreateDto;
import com.campus.dto.ActivityQueryDto;
import com.campus.model.Activity;

import java.util.List;
/**
 * @desc:
 * @author: Tournesol234
 * @date: 2024/11/22 14.41
 */
public interface ActivityService {

    Activity createActivity(ActivityCreateDto activityCreateDto);


    Activity updateActivity(int id, ActivityCreateDto activityCreateDto);


    boolean publishActivity(int id);


    boolean deleteActivity(int id);


    List<Activity> queryActivities(ActivityQueryDto activityQueryDto);
}
